package edu.upenn.cis.cis550.hw3.client;

import com.google.gwt.user.client.rpc.AsyncCallback;

import edu.upenn.cis.cis550.hw3.shared.Relation;

public interface QueryExportAsync {
	
	//void getTopScoringPhotos(String userid, AsyncCallback<Relation> callback) throws IllegalArgumentException;
	

	//void getSearchedPhotos(String keywords, String userid, AsyncCallback<Relation> callback);

	void getAllUsersIDs(AsyncCallback<Relation> callback);

	void getUsersAddress(String userid, AsyncCallback<Relation> callback);

	void getUsersPassword(String userid, AsyncCallback<Relation> callback);

	void getUsersInterests(String userid, AsyncCallback<Relation> callback);
	
	void getUsersPhotos(String userid, AsyncCallback<Relation> callback);

	void getPhotoRating(String photoid, AsyncCallback<Relation> callback);

	void getPhotoTags(String photoid, AsyncCallback<Relation> callback);

	void updateTable(String fileName, String tableName,
			AsyncCallback<Void> callback);

}
